/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techshop.service.impl;

import com.techshop.dao.TechnicalSpecificationsDao;
import com.techshop.model.TechnicalSpecifications;
import com.techshop.service.TechnicalSpecificationsService;
import java.util.List;

/**
 *
 * @author hai
 */
public class TechnicalSpecificationsServiceImpl implements TechnicalSpecificationsService{
    private TechnicalSpecificationsDao technicalSpecificationsDao;
  

    

    public TechnicalSpecificationsDao getTechnicalSpecificationsDao() {
        return technicalSpecificationsDao;
    }

    public void setTechnicalSpecificationsDao(TechnicalSpecificationsDao technicalSpecificationsDao) {
        this.technicalSpecificationsDao = technicalSpecificationsDao;
    }
    @Override
    public List<TechnicalSpecifications> findAll() {
    
       return getTechnicalSpecificationsDao().findAll();
    }

    @Override
    public TechnicalSpecifications getByID(int tsID) {
         return getTechnicalSpecificationsDao().getByID(tsID);
    }
    @Override
      public List<TechnicalSpecifications> findAllByPhoneID(int phoneID) {
        return getTechnicalSpecificationsDao().findAllByPhoneID(phoneID);
    }
    
    
}
